package com.cookman.serviceLocators;

import com.cookman.interfaces.IUIController;
import com.cookman.renderers.WorldRenderer;

/**
 * Created by Cookman on 19.10.14.
 */
public class ServiceLocator {
    private ServiceLocator() {

    }

    private static IUIController _uiController;

    public static void setUIController(IUIController uiController) {
        _uiController = uiController;
    }

    public static IUIController getUIController() {
        return _uiController;
    }

    public static WorldRenderer getWorldRenderer() {
        return worldRenderer;
    }

    public static void setWorldRenderer(WorldRenderer worldRenderer) {
        ServiceLocator.worldRenderer = worldRenderer;
    }

    private static WorldRenderer worldRenderer;

}
